﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindFrmTx
{
    public partial class Form6 : Form
    {
        public Form6()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            var Id = textBox1.Text;
            var insq = string.Format("delete from Articles where Id ={0}",Id);
            var ins = DbHelp.dataTable(insq);
            Form6 form6 = new Form6();
            this.Close();
            Form2 form2 = new Form2();
            form2.Show();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Form6 form6 = new Form6();
            this.Close();
            Form2 form2 = new Form2();
            form2.Show();
        }

        private void Form6_Load(object sender, EventArgs e)
        {

        }
    }
}
